class Entry {
    String link
    String title
    String content
    String tags // comma separate tags
    java.sql.Timestamp lastUpdated
    java.util.Date publishedDate
    boolean indexed

    static mapping = {
        content type: 'text'
    }
    static constraints = {
        link(url:true, blank:false)
    }
    static belongsTo = [resource:Resource]
}
